package hmis.pos.Repository;

import hmis.pos.Base.BaseRepository.BaseRepository;
import hmis.pos.Entity.RoomType;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface RoomTypeRepository extends BaseRepository<RoomType> {

    @Query(value = "select * from roomtype where type = ?1", nativeQuery = true)
    RoomType findByType(String type);

}
